IModel.GetRelationsWhere method ¶
Namespace: NextDesign.Core
Description¶
Get all the associations that match the specified conditions of this instance. This method evaluates IContextOption.PlModelAccessMode.
Returns an empty collection if no such association exists.
The relation of acquisition target can be arbitrarily determined by the evaluation function.
argument¶
Name | Type | Description |
---|---|---|
predicate | Func < IRelationship, IField, bool > | Related Evaluation Function 1st Argument: Related Instance 2nd Argument: Associated Field Return Value: In case of relation to be acquired If you specify True null, you get all the associations of this instance. |
Return value¶
- IRelationshipCollection